package constellation.util;

public class URLutils {
//    public static String parnterURL="http://apis.juhe.cn/xzpd/query";
//    public static String key="";
    public static String  getParenterUrl(String text1,String text2,String key,String utl){
        //70c808f67e31c5ec4c7700bec866de7b"
        String msg="?men="+text1+"&women="+text2+"&key="+key;
      String  url=utl+msg;
        return url;
    }
    public static String  getLuckUrl(String text1,String text2,String key,String utl){
        //70c808f67e31c5ec4c7700bec866de7b"
        String msg="?consName="+text1+"&type="+text2+"&key="+key;
        String  url=utl+msg;
        return url;
    }
}
